package com.blog.service;

import com.blog.pojo.User;
import org.springframework.web.multipart.MultipartFile;


public interface UserService {

    //验证登录信息
    User checkUser(String username, String password);

    User FcheckUser(String username, String password);

    //验证人脸
    User checkFace(MultipartFile photo);
    //注册
    void addUser(String username, String password);

    boolean isUserExists(String username);
}
